package main

import (
	"flag"
	"fmt"
)

func main() {

	host := flag.String("host", "localhost", "hostname")
	port := flag.Int("port", 9990, "http listen port")

	var username, password string
	flag.StringVar(&username, "u", "admin", "username")
	flag.StringVar(&password, "p", "password", "password")

	flag.Parse()

	fmt.Println("host:", *host)
	fmt.Println("port:", *port)
	fmt.Println("username:", username)
	fmt.Println("password:", password)

}
